<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <!-- Any Other things should follow these 3 meta above -->
    <title>达米买家中心</title>
    <!-- Bootstrap -->
    <link href="/bootstrap/dist/css/bootstrap.css" rel="stylesheet"/>
    <link href="/css/common.css" rel="stylesheet"/>
    <link href="/css/buyer_center.css" rel="stylesheet"/>
    <link href="/css/pop-up.css" rel="stylesheet" media="all"/>
    <!-- Custom styles -->

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="/js/common/jquery-3.1.1.min.js"></script>
    <script src="/js/login.js"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/js/common/html5shiv.min.js"></script>
    <script src="/js/common/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<!-- this is the common top begin -->
    <div class="container-fluid">
        <div data-th-replace="common_html/common_head"></div>
        <div class="row banner">
            <div class="col-xs-2 col-sm-2"></div>
            <div class="col-xs-8 col-sm-8">
                <div class="row">

                    <div class="col-xs-3 logo"><a class="mr-15 " th:href="@{/}"><img src="/img/cute_logo.jpg" class="logo_wh"/></a></div>
                    <div class="col-xs-5 font-bold">
                        <a class="mr-15 " th:href="@{/}">首页</a>
                        <a class="mr-15 glyphicon glyphicon-user" href="buyer_center.html" th:href="@{/buyer/center}">买家中心</a>
                        <a class="mr-15 glyphicon glyphicon-cog" href="buyer_setting.html" th:href="@{/buyer/buyer_setting}">设置</a>
                    </div>
                    <div class="col-xs-4 col-sm-4">
                        <form class="form-inline" th:action="@{/product/searchGood}">
                            <div class="form-group">

                                <input type="text" class="form-control search" id="search" name="search" placeholder="请输入商品名\关键词"/>

                            </div>
                            <button type="submit" class="search-btn">搜索</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
<!-- this is the common top end -->
    <div class="container">
        <div class="row">
            <div class="col-xs-2">
                <ul class="list-unstyled">
                    <li class="font-red font-middle mt-10">全 部 功 能</li>
                    <li class="mt-10 "><a th:href="@{/buyer/shopping_cart}"  href="/buyer/shopping_cart" class="font-black glyphicon glyphicon-shopping-cart"> 我的购物车</a> </li>
                    <li class="mt-10 "><a th:href="@{/buyer/orders}" href="/buyer/bought_products" class="font-black glyphicon glyphicon-ok-circle"> 已买到的宝贝</a> </li>
                    <!--<li class="mt-10 "><a th:href="@{/buyer/bought_shops}" href="/buyer/bought_shops" class="font-black glyphicon glyphicon-home"> 购买过的店铺</a> </li>-->
                    <!--<li class="mt-10 "><a th:href="@{/buyer/comment_management}" href="/buyer/comment_management" class="font-black glyphicon glyphicon-list-alt"> 评价管理</a> </li>-->
                </ul>
            </div>
            <div class="col-xs-7" style="min-height: 500px">
                <div class="row mt-10 border-one mr-15">
                    <div class="col-xs-2">
                        <img src="/img/photo.jpg" alt="买家头像" class="buyer_head_photo"/>
                    </div>
                    <div class="col-xs-4 mt-20">
                        <span class="ml-5  font-middle font-bold" th:text="@{${buyer.name}+'，您好'}" >买家姓名</span>
                    </div>
                    <div class="col-xs-3">
                        <!--
                        <a class="float-right font-bold font-middle font-black mt-20" href="buyer_pay.html">我的支付</a>
                        -->
                    </div>
                    <div class="col-xs-3">
                        <a class="float-right font-bold font-middle font-black mt-20" href="orders.html">订单管理</a>
                    </div>
                </div>
            </div>
            <div class="col-xs-3">
                <div class="row calender_top mt-40">
                    <div class="border-calendar text-center mt-10 mb-10">
                        <div class="glyphicon glyphicon-time mt-5 float-left ml-5"></div>
                        <span class="font-middle font-white ">我的日历</span>
                        <div class="glyphicon glyphicon-tag mt-5 float-right mr-5"></div>
                    </div>
                </div>
                <div class="row">
                    <div class="border-calendar text-center ">
                        <strong class="font-green font-bold font-bigger">
                            <script language="JavaScript">
                            today=new Date();
                            document.write(today.getDate())
                            </script>
                        </strong><br/>
                        <span class="font-green  font-middle">
                            <script language="JavaScript">
                                today=new Date();
                                var weekDay="";
                                var myWeekDay=today.getDay();
                                if(myWeekDay==0) weekDay = "星期日";
                                if(myWeekDay==1) weekDay = "星期一";
                                if(myWeekDay==2) weekDay = "星期二";
                                if(myWeekDay==3) weekDay = "星期三";
                                if(myWeekDay==4) weekDay = "星期四";
                                if(myWeekDay==5) weekDay = "星期五";
                                if(myWeekDay==6) weekDay = "星期六";
                                document.write(weekDay)
                            </script>
                        </span><br/><br/>
                        <span class=" font-green  font-middle">
                            <script language="JavaScript">
                                today=new Date();
                                document.write(today.getFullYear(),".",today.getMonth()+1)
                            </script>
                        </span><br/>
                    </div>
                </div>
            </div>
        </div>

    </div>
<!--This is the common footer Begin-->
<div class="container-fluid mt-20">
    <div class="row">
        <div class="col-xs-12 footer-info">
            <div class="col-xs-2 col-xs-offset-3 mt-40 "><img src="/img/logo_button_1.jpg"/></div>
            <div class="col-xs-3 mt-40 "><img src="/img/logo_button_2.jpg " /><br/><span class="font-grey font-15" >一家专门做校园文化产品的网站</span></div>
            <div class="col-xs-4 mt-60"><img class="qr-code"  src="/img/qr_code.png" th:src="@{'/picture/72'}"/><br/><div class="mt-20 font-15 ml-10">扫码有惊喜哦</div></div>
        </div>
    </div>
</div>

<div class="container">
    <div class="row mt-20 font-small">
        <div class="col-xs-2 col-sm-2"></div>
        <div class="col-xs-8 col-sm-8">
            <div id="footer">
                <div class="footerNav text-center">
                    <a href="#" th:href="@{/demo/aboutUs}">关于我们</a> |
                    <a href="#" th:href="@{/demo/service}">服务条款</a> |
                    <a href="#" th:href="@{/demo/map}">网站地图</a> |
                    <a href="#" th:href="@{/demo/contactUs}">联系我们</a>
                </div>
                <div class="copyRight text-center">
                    Copyright DaMi
                </div>
            </div>
        </div>
        <div class="col-xs-2"></div>
    </div>
</div>


<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/js/common/jquery-3.1.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/bootstrap/dist/js/bootstrap.min.js"></script>
</body>
</html>
<!--This is the common footer End-->